<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>中科智晟云大脑</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport"
        content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
  <link rel="stylesheet" href="static/layuiadmin/layui/css/layui.css" media="all">
  <link rel="stylesheet" href="static/layuiadmin/style/admin.css" media="all">
  <!--在线自定义图标 阿良账号-->
  <link rel="stylesheet" href="http://at.alicdn.com/t/font_1725720_8wych26h2hb.css" media="all">
  <script>
    /^http(s*):\/\//.test(location.href) || alert('请先部署到 localhost 下再访问');
  </script>
</head>
<body class="layui-layout-body">

<div id="LAY_app">
  <div class="layui-layout layui-layout-admin">
    <div class="layui-header">
      <!-- 头部区域 -->
      <ul class="layui-nav layui-layout-left">
        <li class="layui-nav-item layadmin-flexible" lay-unselect>
          <a href="javascript:" layadmin-event="flexible" title="侧边伸缩">
            <i class="layui-icon layui-icon-shrink-right" id="LAY_app_flexible"></i>
          </a>
        </li>
       <!-- <li class="layui-nav-item layui-hide-xs" lay-unselect>
          <a href="http://www.layui.com/admin/" target="_blank" title="前台">
            <i class="layui-icon layui-icon-website"></i>
          </a>
        </li>-->
<!--        <li class="layui-nav-item" lay-unselect>-->
<!--          <a href="javascript:" layadmin-event="refresh" title="刷新">-->
<!--            <i class="layui-icon layui-icon-refresh-3"></i>-->
<!--          </a>-->
<!--        </li>-->

        <li class="layui-nav-item layui-hide-xs" lay-unselect>
          <input type="text" placeholder="搜索..." autocomplete="off" class="layui-input layui-input-search"
                 layadmin-event="serach" lay-action="template/search.jhtml?keywords=">
        </li>
      </ul>
      <ul class="layui-nav layui-layout-right" lay-filter="layadmin-layout-right">


<!--        <% if(session.om_user.sysRole.sysRoleCode.role_number!='construction'){ %>-->
<!--        <li class="layui-nav-item" lay-unselect>-->
<!--          <a onclick="x_admin_show('发布通知','notice/list.jhtml',700,400)" layadmin-event="message" lay-text="消息中心">-->
<!--            <i class="layui-icon iconfont layui-extend-tongzhi"></i>-->

<!--            &lt;!&ndash; 如果有新消息，则显示小圆点 &ndash;&gt;-->
<!--            &lt;!&ndash;<span class="layui-badge-dot"></span>&ndash;&gt;-->
<!--          </a>-->
<!--        </li>-->
<!--        <% } %>-->
<!--        <% if(session.om_user.sysRole.sysRoleCode.role_number!='admin'){ %>-->
<!--        <li class="layui-nav-item" lay-unselect>-->
<!--          <a onclick="x_admin_show('通知列表','base/link/@/backlog/noticelist.jhtml',1000,600)" layadmin-event="message"-->
<!--             lay-text="消息中心">-->
<!--            <i class="layui-icon layui-icon-shrink-right"></i>-->

<!--            &lt;!&ndash; 如果有新消息，则显示小圆点 &ndash;&gt;-->
<!--            &lt;!&ndash;<span class="layui-badge-dot"></span>&ndash;&gt;-->
<!--          </a>-->
<!--        </li>-->
<!--        <% } %>-->
<!--        <% if(session.om_user.sysRole.sysRoleCode.role_number!='construction'){ %>-->
<!--        <li class="layui-nav-item" lay-unselect>-->
<!--          <a onclick="x_admin_show('已发通知','base/link/@/backlog/noticelists.jhtml',1000,600)" layadmin-event="message"-->
<!--             lay-text="已发通知">-->
<!--            <i class="layui-icon layui-icon-spread-left"></i>-->

<!--            &lt;!&ndash; 如果有新消息，则显示小圆点 &ndash;&gt;-->
<!--            &lt;!&ndash;<span class="layui-badge-dot"></span>&ndash;&gt;-->
<!--          </a>-->
<!--        </li>-->
<!--        <% } %>-->
<!--        <li class="layui-nav-item layui-hide-xs" lay-unselect>-->
<!--          <a href="javascript:" layadmin-event="theme">-->
<!--            <i class="layui-icon layui-icon-theme"></i>-->
<!--          </a>-->
<!--        </li>-->
        <!--<li class="layui-nav-item layui-hide-xs" lay-unselect>-->
        <!--<a href="javascript:" layadmin-event="theme">-->
        <!--<i class="layui-icon layui-icon-theme"></i>-->
        <!--</a>-->
        <!--</li>-->
        <!--<li class="layui-nav-item" lay-unselect>-->
        <!--<a onclick="x_admin_show('发布通知','notice/list.jhtml',700,400)" layadmin-event="note">-->
        <!--<i class="layui-icon layui-icon-note"></i>-->
        <!--</a>-->
        <!--</li>-->
<!--        <li class="layui-nav-item layui-hide-xs" lay-unselect>-->
<!--          <a href="javascript:" layadmin-event="fullscreen">-->
<!--            <i class="layui-icon layui-icon-screen-full"></i>-->
<!--          </a>-->
<!--        </li>-->

<!--        <% if(panshiro.hasAnyRole("enterprise")){%>-->
<!--        <li class="layui-nav-item" lay-unselect>-->
<!--          <%if(null==session.project){%>-->
<!--          <a href="javascript:">全部场地</a>-->
<!--          <%}else{%>-->
<!--          <a href="javascript:">${session.project.projectName}</a>-->
<!--          <%}%>-->

<!--          <dl class="layui-nav-child">-->
<!--            <% for (project in session.enterprise) { %>-->
<!--            <dd><a class="swpro" data-bas="${project.id}">${project.projectName}</a></dd>-->
<!--            <% } %>-->
<!--          </dl>-->
<!--        </li>-->
<!--        <%}%>-->
        <% if(panshiro.hasAnyRole("manage")){%>
        <li class="layui-nav-item" lay-unselect>
          <%if(null==session.area){%>
          <a href="javascript:">选择切换区域</a>
          <%}else{%>
          <a href="javascript:">${session.area.projectName}</a>
          <%}%>
          <dl class="layui-nav-child">
            <% for (area in session.om_user.enterpriseProjects) { %>
            <dd><a class="swarea" data-area="${area.id}">${area.projectName}</a></dd>
            <% } %>
          </dl>
        </li>
        <%}%>
        <li class="layui-nav-item" lay-unselect="">
          <a href="javascript:"><img src="//t.cn/RCzsdCq" class="layui-nav-img">${session.om_user.name}</a>
          <dl class="layui-nav-child">
            <dd><a lay-href="base/link/@/set/user/info.jhtml">基本资料</a></dd>
            <dd><a lay-href="base/link/@/set/user/password.jhtml">修改密码</a></dd>
            <hr>
            <dd layadmin-event="" style="text-align: center;"><a href="logout.jhtml">退出</a></dd>
          </dl>
        </li>


<!--        <li class="layui-nav-item layui-hide-xs" lay-unselect>-->
<!--          <a href="javascript:" layadmin-event="about"><i class="layui-icon layui-icon-more-vertical"></i></a>-->
<!--        </li>-->
        <li class="layui-nav-item layui-show-xs-inline-block layui-hide-sm" lay-unselect>
          <a href="javascript:" layadmin-event="more"><i class="layui-icon layui-icon-more-vertical"></i></a>
        </li>
      </ul>
    </div>

    <!-- 侧边菜单 -->
    <div class="layui-side layui-side-menu">
      <div class="layui-side-scroll">
        <div class="layui-logo" lay-href="home/console.jhtml" style="height: 67px">
          <div style="height: 26px;font-size: 26px">
            <span>中科智晟云大脑</span>
          </div>

       <!--   <label style="font-size: 8px">${isEmpty(session.om_user.enterprise.systemVersion.versioname)?'':session.om_user.enterprise.systemVersion.versioname+'/'}${session.om_user.sysRole.sysRoleCode.role_name}</label>-->
          <label style="font-size: 8px">V2.0/管理角色</label>
        </div>
        <ul class="layui-nav layui-nav-tree" lay-shrink="all" id="LAY-system-side-menu"
            lay-filter="layadmin-system-side-menu" style="margin-top: 67px">
          <li data-name="home" class="layui-nav-item layui-nav-itemed">
            <a href="javascript:" lay-tips="主页" lay-direction="2">
              <i class="layui-icon layui-icon-home"></i>
              <cite>首页</cite>
            </a>
            <dl class="layui-nav-child">
              <dd data-name="console" class="layui-this">
                <% if(panshiro.hasAnyRole("enterprise")){%>
                <a lay-href="home/console.jhtml">日常看板</a>
                <%}%>
                <% if(panshiro.hasAnyRole("manage")){%>
                <a lay-href="home/homepage1.jhtml">日常看板</a>
                <%}%>
                <% if(panshiro.hasAnyRole("construction")){%>
                <a lay-href="base/link/@/home/homepage2.jhtml">日常看板</a>
                <%}%>
                <% if(panshiro.hasAnyRole("admin")){%>
                <a lay-href="base/link/@/home/technologymain.jhtml">日常看板</a>
                <%}%>
                <% if(panshiro.hasAnyRole("government")){%>
                <a lay-href="base/link/@/home/governmentmain.jhtml">日常看板</a>
                <%}%>
              </dd>

            </dl>
          </li>
          <% if(!panshiro.hasAnyRole("admin")){%>
          <!--<li data-name="component" class="layui-nav-item">
            <a href="javascript:" lay-tips="资产台账" lay-direction="2">
              <i class="layui-icon layui-icon-read"></i>
              <cite>资产台账</cite>
            </a>
            <dl class="layui-nav-child">
              <dd>
              <dd><a lay-href="base/link/@/greedLand/list.jhtml">场地管理</a></dd>
              </dd>
              <dd>
                <a lay-href="base/link/@/plant/list.jhtml">信息管理</a>
              </dd>
              <dd>
                <a lay-href="base/link/@/plant/encyclopedia.jhtml">分类百科</a>
              </dd>
              <dd>
                <a lay-href="base/link/@/plant/type.jhtml">信息类型</a>
              </dd>

            </dl>
          </li>
          <li data-name="template" class="layui-nav-item">
            <a href="javascript:" lay-tips="城市服务" lay-direction="2">
              <i class="layui-icon layui-icon-rate"></i>
              <cite>城市服务</cite>
            </a>
            <dl class="layui-nav-child">
              <dd><a lay-href="base/link/@/greedLand/list.jhtml">定位服务</a></dd>
            </dl>
          </li>-->
        <!--  <li data-name="template" class="layui-nav-item">
            <a href="javascript:" lay-tips="公猪管理" lay-direction="2">
              <i class="layui-icon layui-icon-transfer"></i>
              <cite>公猪管理</cite>
            </a>
            <dl class="layui-nav-child">
              <dd><a lay-href="base/link/@/mainten/type.jhtml">公猪采精</a></dd>
              <dd><a lay-href="base/link/@/greedLand/administrator.jhtml">种猪体况</a></dd>
              <dd><a lay-href="base/link/@/plant/type.jhtml">种猪转舍</a></dd>
              <dd><a lay-href="base/link/@/alarm/list.jhtml">种猪销售</a></dd>
              <dd><a lay-href="base/link/@/controlEquipment/list.jhtml">后备发情</a></dd>
            </dl>
          </li>-->
        <!--  <li data-name="template" class="layui-nav-item">
            <a href="javascript:" lay-tips="商品猪记录" lay-direction="2">
              <i class="layui-icon layui-icon-location"></i>
              <cite>商品猪记录</cite>
            </a>
            <dl class="layui-nav-child">
              <dd><a lay-href="base/link/@/alarm/list.jhtml">肉猪转舍</a></dd>
              <dd><a lay-href="base/link/@/alarm/list1.jhtml">死猪淘汰</a></dd>
              <dd><a lay-href="base/link/@/alarm/list2.jhtml">肉猪销售</a></dd>
              <dd><a lay-href="base/link/@/alarm/list3.jhtml">肉猪购买</a></dd>
              <dd><a lay-href="base/link/@/alarm/list4.jhtml">肉猪盘点</a></dd>
            </dl>
          </li>
          <li data-name="template" class="layui-nav-item">
            <a href="javascript:" lay-tips="其他记录" lay-direction="3">
              <i class="layui-icon layui-icon-location"></i>
              <cite>其他记录</cite>
            </a>
            <dl class="layui-nav-child">
              <dd><a lay-href="base/link/@/alarm/list5.jhtml">猪群饲喂</a></dd>
              <dd><a lay-href="base/link/@/alarm/list6.jhtml">种猪免疫</a></dd>
              <dd><a lay-href="base/link/@/alarm/list7.jhtml">肉猪免疫</a></dd>
              <dd><a lay-href="base/link/@/alarm/list8.jhtml">转为后备</a></dd>
            </dl>
          </li>-->
         <!-- <li data-name="app" class="layui-nav-item">
            <a lay-href="base/link/@/work_plan/work_plan_day.jhtml" lay-tips="工作计划" lay-direction="2">
              <i class="layui-icon layui-icon-edit"></i>
              <cite>工作计划</cite>
            </a>

          </li>-->
          <li data-name="senior" class="layui-nav-item">
            <a href="javascript:" lay-tips="数据分析" lay-direction="2">
              <i class="layui-icon layui-icon-survey"></i>
              <cite>数据分析</cite>
            </a>
          <% for (project in session.enterprise) { %>
            <dl class="layui-nav-child">
              <dd><a lay-href="dataShow/count.jhtml?project=${project.id}">${project.projectName}</a></dd>
            </dl>
          <% } %>
          </li>

          <li data-name="user" class="layui-nav-item">
            <a href="javascript:" lay-tips="人工智能" lay-direction="2">
              <i class="layui-icon layui-icon-senior"></i>
              <cite>人工智能</cite>
            </a>
            <dl class="layui-nav-child">
              <dd>
                <a lay-href="base/link/@/video/list.jhtml">知识库</a>
              </dd>
              <dd>
                <a lay-href="base/link/@/video/environHealth.jhtml">环境健康</a>
              </dd>
            <!--  <dd>
                <a lay-href="base/link/@/video/list.jhtml">视频监控</a>
              </dd>-->
             <!-- <dd>
                <a lay-href="base/link/@/energy/list.jhtml">能源管理</a>
              </dd>-->
            </dl>
          </li>
          <li data-name="user" class="layui-nav-item">
            <a href="base/link/@/bigdata/activity.jhtml" lay-tips="全局展示" lay-direction="2">
              <i class="layui-icon layui-icon-website"></i>
              <cite>全局展示</cite>
            </a>
          </li>
          <li data-name="senior" class="layui-nav-item">
            <a href="javascript:" lay-tips="数据配置" lay-direction="2">
              <i class="layui-icon layui-icon-survey"></i>
              <cite>数据配置</cite>
            </a>
            <% for (project in session.enterprise) { %>
            <dl class="layui-nav-child">
              <dd><a lay-href="system/dataConfig/list.jhtml?project=${project.id}">${project.projectName}</a></dd>
            </dl>
            <% } %>
          </li>

       <!--   <li data-name="user" class="layui-nav-item">
            <a lay-href="base/link/@/dataConfiguration/list.jhtml" lay-tips="数据配置" lay-direction="2">
              <i class="layui-icon layui-icon-layer"></i>
              <cite>数据配置</cite>
            </a>

          </li>-->
          <li data-name="user" class="layui-nav-item">
            <a lay-href="base/link/@/project/sysproject.jhtml" lay-tips="场地管理" lay-direction="2">
              <i class="layui-icon layui-icon-layer"></i>
              <cite>场地管理</cite>
            </a>

          </li>
        <!--  <li data-name="user" class="layui-nav-item">
            <a lay-href="base/link/@/openAccount/list.jhtml" lay-tips="开设账户" lay-direction="2">
              <i class="layui-icon layui-icon-add-circle-fine"></i>
              <cite>开设账户</cite>
            </a>
          </li>-->

        <!--  <li data-name="user" class="layui-nav-item">
            <a lay-href="base/link/@/greedLand/administrator.jhtml" lay-tips="场地管理" lay-direction="2">
              <i class="layui-icon layui-icon-tree"></i>
              <cite>场地管理</cite>
            </a>

          </li-->>
          <li data-name="user" class="layui-nav-item">
            <a lay-href="base/link/@/equipment/list.jhtml" lay-tips="设备管理" lay-direction="2">
              <i class="layui-icon layui-icon-cellphone-fine"></i>
              <cite>设备管理</cite>
            </a>

          </li>
        <!--  <li data-name="user" class="layui-nav-item">
            <a lay-href="base/link/@/dataConfiguration/list.jhtml" lay-tips="数据配置" lay-direction="2">
              <i class="layui-icon layui-icon-chart-screen"></i>
              <cite>数据配置</cite>
            </a>

          </li>-->

         <!-- <li data-name="user" class="layui-nav-item">
            <a lay-href="base/link/@/repoment/list.jhtml" lay-tips="报告管理" lay-direction="2">
              <i class="layui-icon layui-icon-form"></i>
              <cite>报告管理</cite>
            </a>

          </li>-->
          <li data-name="user" class="layui-nav-item">
            <a lay-href="base/link/@/alarm/list.jhtml" lay-tips="告警管理" lay-direction="2">
              <i class="layui-icon layui-icon-voice"></i>
              <cite>告警管理</cite>
            </a>

          </li>
          <li data-name="user" class="layui-nav-item">
            <a lay-href="base/link/@/alarm/statistics.jhtml" lay-tips="告警统计" lay-direction="2">
              <i class="layui-icon layui-icon-rate"></i>
              <cite>告警统计</cite>
            </a>

          </li>
          <li data-name="user" class="layui-nav-item">
            <a href="javascript:" lay-tips="系统设置" lay-direction="2">
              <i class="layui-icon layui-icon-senior"></i>
              <cite>系统设置</cite>
            </a>
            <dl class="layui-nav-child">
              <dd>
                <a lay-href="base/link/@/video/list.jhtml">员工账号</a>
              </dd>
              <dd>
                <a lay-href="base/link/@/video/environHealth.jhtml">系统设置</a>
              </dd>
              <!--  <dd>
                  <a lay-href="base/link/@/video/list.jhtml">视频监控</a>
                </dd>-->
              <!-- <dd>
                 <a lay-href="base/link/@/energy/list.jhtml">能源管理</a>
               </dd>-->
            </dl>
          </li>
       <!--   <li data-name="ents" class="layui-nav-item">
            <a lay-href="base/link/@/system/role.jhtml" lay-tips="角色管理" lay-direction="2">
              <i class="layui-icon layui-icon-add-circle"></i>
              <cite>角色管理</cite>
            </a>
          </li>-->
          <%}%>
          <% if(panshiro.hasAnyRole("admin")){%>
          <li data-name="user" class="layui-nav-item">
            <a href="base/link/@/bigdata/index.jhtml" lay-tips="全局展示" lay-direction="2">
              <i class="layui-icon layui-icon-website"></i>
              <cite>全局展示</cite>
            </a>
          </li>
          <li data-name="user" class="layui-nav-item">
            <a lay-href="base/link/@/system/enterprise.jhtml" lay-tips="开设企业" lay-direction="2">
              <i class="layui-icon layui-icon-add-1"></i>
              <cite>开设企业</cite>
            </a>
          </li>
        <!--  <li data-name="user" class="layui-nav-item">
            <a lay-href="base/link/@/system/version.jhtml" lay-tips="版本设置" lay-direction="2">
              <i class="layui-icon layui-icon-about"></i>
              <cite>版本设置</cite>
            </a>
          </li>-->
         <!-- <li data-name="user" class="layui-nav-item">
            <a lay-href="base/link/@/system/menu.jhtml" lay-tips="菜单配置" lay-direction="2">
              <i class="layui-icon layui-icon-menu-fill"></i>
              <cite>菜单配置</cite>
            </a>
          </li>-->
          <li data-name="user" class="layui-nav-item">
            <a lay-href="base/link/@/system/ontrial.jhtml" lay-tips="试用信息" lay-direction="2">
              <i class="layui-icon iconfont layui-extend-bingchonghai"></i>
              <cite>试用信息</cite>
            </a>
          </li>
          <%}%>
          <% if(panshiro.hasAnyRole("government")){%>
          <li data-name="ent" class="layui-nav-item">
            <a lay-href="bigdata.jhtml" lay-tips="企业信息" lay-direction="2">
              <i class="layui-icon layui-icon-template"></i>
              <cite>企业信息</cite>
            </a>
          </li>
          <%}%>
          <!-- <li data-name="user" class="layui-nav-item">
             <a lay-href="dataShow/count.jhtml" lay-tips="数据显示" lay-direction="2">
               <i class="layui-icon layui-icon-about"></i>
               <cite>数据显示</cite>
             </a>
           </li>-->
          <!--  <li data-name="user" class="layui-nav-item">
              <a href="javascript:" lay-tips="科技公司功能集合" lay-direction="2">
                <i class="layui-icon layui-icon-user"></i>
                <cite>科技公司功能集合</cite>
              </a>
              <dl class="layui-nav-child">
                <dd><a href="bigdata.jhtml">全局展示</a></dd>
             &lt;!&ndash;   <dd><a lay-href="monitoringdat/ret.jhtml">数据展示</a></dd>
                <dd><a lay-href="monitoringdispay/list.jhtml">数据展示2</a></dd>&ndash;&gt;
                <dd><a lay-href="base/link/@/system/enterprise.jhtml">开设企业</a></dd>
                <dd><a lay-href="base/link/@/system/version.jhtml">版本设置</a></dd>
                <dd><a lay-href="base/link/@/system/menu.jhtml">菜单配置</a></dd>
              </dl>
            </li>-->
        </ul>
      </div>
    </div>

    <!-- 页面标签 -->
    <div class="layadmin-pagetabs" id="LAY_app_tabs">
      <div class="layui-icon layadmin-tabs-control layui-icon-prev" layadmin-event="leftPage"></div>
      <div class="layui-icon layadmin-tabs-control layui-icon-next" layadmin-event="rightPage"></div>
      <div class="layui-icon layadmin-tabs-control layui-icon-down">
        <ul class="layui-nav layadmin-tabs-select" lay-filter="layadmin-pagetabs-nav">
          <li class="layui-nav-item" lay-unselect>
            <a href="javascript:"></a>
            <dl class="layui-nav-child layui-anim-fadein">
              <dd layadmin-event="closeThisTabs"><a href="javascript:">关闭当前标签页</a></dd>
              <dd layadmin-event="closeOtherTabs"><a href="javascript:">关闭其它标签页</a></dd>
              <dd layadmin-event="closeAllTabs"><a href="javascript:">关闭全部标签页</a></dd>
            </dl>
          </li>
        </ul>
      </div>
      <div class="layui-tab" lay-unauto lay-allowClose="true" lay-filter="layadmin-layout-tabs">
        <ul class="layui-tab-title" id="LAY_app_tabsheader">
          <li lay-id="home/console.jhtml" lay-attr="home/console.jhtml" class="layui-this"><i
                  class="layui-icon layui-icon-home"></i></li>
        </ul>
      </div>
    </div>


    <!-- 主体内容 -->
    <% if(panshiro.hasAnyRole("admin")){%>
    <div class="layui-body" id="LAY_app_body">
      <div class="layadmin-tabsbody-item layui-show">
        <iframe src="home/technologymain.jhtml" frameborder="0" class="layadmin-iframe"></iframe>
      </div>
    </div>
    <%}%>
    <% if(panshiro.hasAnyRole("government")){%>
    <div class="layui-body" id="LAY_app_body">
      <div class="layadmin-tabsbody-item layui-show">
        <iframe src="home/governmentmain.jhtml" frameborder="0" class="layadmin-iframe"></iframe>
      </div>
    </div>
    <%}%>
    <% if(panshiro.hasAnyRole("enterprise")){%>
    <div class="layui-body" id="LAY_app_body">
      <div class="layadmin-tabsbody-item layui-show">
        <iframe src="home/console.jhtml" frameborder="0" class="layadmin-iframe"></iframe>
      </div>
    </div>
    <%}%>
    <% if(panshiro.hasAnyRole("manage")){%>
    <% if(!isEmpty(session.area)){%>
    <div class="layui-body" id="LAY_app_body">
      <div class="layadmin-tabsbody-item layui-show">
        <iframe src="home/homepage1.jhtml" frameborder="0" class="layadmin-iframe"></iframe>
      </div>
    </div>
    <%}%>
    <%}%>
    <% if(panshiro.hasAnyRole("construction")){%>
    <div class="layui-body" id="LAY_app_body">
      <div class="layadmin-tabsbody-item layui-show">
        <iframe src="home/homepage2.jhtml" frameborder="0" class="layadmin-iframe"></iframe>
      </div>
    </div>
    <%}%>
    <!-- 辅助元素，一般用于移动设备下遮罩 -->
    <div class="layadmin-body-shade" layadmin-event="shade"></div>
  </div>
</div>
<!-- 弹出页面 -->
<div class="layui-form" lay-filter="layuiadmin-form-area"
     id="layuiadmin-form-area"
     style="padding: 15px;display: none">
  <form action class="layui-form" lay-filter="component-form-element" id="myform">

    <div class="layui-row layui-col-space10">
      <div class="layui-col-md3">
        <label class="layui-form-label" style="padding-left: 0px;font-size: medium;width: auto;">选择区域:</label>
      </div>
      <div class="layui-col-md9">
        <select style="height: 40px;width: 70px" lay-filter="area-se" lay-verify="required">
          <option value="">请选择区域</option>
          <% if(panshiro.hasAnyRole("enterprise")){%>
          <% for (project in session.enterprise) { %>
          <option value="${project.id}">${project.projectName}</option>
          <% } %>
          <%}%>
        </select>
      </div>

    </div>


  </form>
</div>
<script src="static/layuiadmin/layui/layui.js"></script>
<script>

  function x_admin_show(title, url, w, h) {
    if (title == null || title == '') {
      title = false;
    }
    if (url == null || url == '') {
      url = "404.html";
    }
    if (w == null || w == '') {
      w = ($(window).width() * 0.4);
    }
    if (h == null || h == '') {
      h = ($(window).height() - 400);
    }
    layer.open({
      type: 2,
      area: [w + 'px', h + 'px'],
      fix: false, //不固定
      maxmin: true,
      shadeClose: false,
      shade: 0.4,
      title: title,
      content: url,
      success: function (layero, index) {
        layer.render();
      }
    });
  }


  layui.config({
    base: 'static/layuiadmin/' //静态资源所在路径
  }).extend({
    index: 'lib/index' //主入口模块
  }).use(['index', 'admin', 'layer', 'element', 'form'], function () {
  })
</script>
</body>
</html>


